package DBLayer;

import java.util.ArrayList;
import ModelLayer.Range;

public interface IFDBRange {
	
	// get all Ranges
    public ArrayList<Range> getAllRanges(boolean retriveAssociation);
    //get one range having the rangeID
    public Range findRange(int rangeId, boolean retriveAssociation);
    //find one range having the name
    public Range searchRangeName( String rangeName);
    //insert a new Range
    public int insertRange(Range r) throws Exception;
    //update information about an Range
    public int updateRange(Range r);
    //delete an range using the rangeID
    public int deleteRange(int rangeID);

}
